.main {
    width: 1200px;
    margin: 0 auto;
}

.empty{
    padding-top: 100px;
}

.banner {
    @include size(100%, 590px);
    background-image: url(../imgs/bg.png);
    background-size: 100% 100%;

    .main {
        height: 100%;

        .slide-link {
            display: block;

            >* {
                @include size(100%, 590px);
            }

            .slide-image {
                @include size(100%, 590px);
                overflow: hidden;
                object-fit: cover;
                object-position: center center;
            }

            .slide-content {
                @include size(50%, 235px);
                position: absolute;
                left: 50%;
                top: 50%;
                background-color: var(--bg-ffffff);
                z-index: 3;
                padding: 40px 50px;
                transform: translate(-50%, -50%);
                text-align: center;

                .dancing-script {
                    color: #be967f;
                }

                .slide-text {
                    color: var(--text-333333);
                    font-weight: 700;
                    height: 64px;
                    font-family: "楷体";
                    display: block;

                    span {
                        background-image: linear-gradient(to left, var(--bg-0066cc), var(--bg-0066cc));
                        background-size: 0px 2px;
                        background-position: right bottom;
                        background-repeat: no-repeat;
                        @include transition((background-size, color), 0.5s, linear);
                    }
                }

                .slide-name {
                    font-weight: bold;
                }

                .font-18 {
                    color: var(--text-333333);
                }
            }

            &:hover {
                .slide-content {
                    .slide-text {
                        span {
                            background-size: 100% 2px;
                            background-position: left bottom;
                            color: var(--bg-0066cc);
                        }
                    }
                }
            }
        }
    }
}
.color3{
    color: var(--text-333333);
}

.left {
    @include size(65%, auto);
    @include grid-layout(1fr, auto, 32px);

    .full-width {
        grid-column: 1 / -1;
    }

    .item {
        width: 100%;
        height: 232px;
        padding-bottom: 32px;
        border-bottom: 1px solid var(--border-e0e0e0);
        cursor: pointer;
        margin-top: 16px;

        .item-cover {
            @include size(200px);
            overflow: hidden;

            .item-image {
                @include size;
                object-fit: cover;
                object-position: center center;
            }
        }

        .item-content {
            height: 100%;
            padding-left: 32px;
            background-color: var(--bg-ffffff);
            border-top-right-radius: 12px;
            border-bottom-right-radius: 12px;
            overflow: hidden;

            .item-title {
                font-weight: bold;
                color: var(--text-333333);
                @include transition((color));
            }

            .item-brochure {
                color: var(--text-666666);
                @include size(100%, 64px);
                margin: 16px 0;
                @include transition((color));
            }

            .item-author {
                color: var(--text-333333);
                @include transition((color));
            }
        }

        &:hover {
            .item-content {
                background-color: var(--bg-0066cc);

                .item-title,
                .item-brochure,
                .item-author {
                    color: var(--text-ffffff);
                }
            }
        }
    }
}

.right {
    @include size(35%, auto);

    .right {
        padding-left: 16px;
    }

    .wrapper {
        width: 100%;
        border-radius: 8px;
    }

    .dateCell {
        position: relative;

        &:before {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            margin: auto;
            max-width: 40px;
            max-height: 40px;
            background: transparent;
            transition: background-color 300ms;
            border-radius: 4px;
            border: 1px solid transparent;
            box-sizing: border-box;
        }

        &:hover:before {
            background: var(--shadow-000000-10);
        }
    }

    .today {
        &:before {
            border: 1px solid var(--border-0066cc);
        }
    }

    .text {
        position: relative;
        z-index: 1;
    }

    .lunar {
        color: var(--shadow-000000-50);
        font-size: 12px;
    }

    .current {
        color: var(--text-ffffff);

        &:before {
            background: var(--bg-0066cc);
        }

        &:hover:before {
            background: var(--bg-0066cc);
            opacity: 0.8;
        }

        .lunar {
            color: var(--text-ffffff);
            opacity: 0.9;
        }

        .weekend {
            color: var(--text-ffffff);
        }
    }

    .monthCell {
        width: 120px;
        color: var(--shadow-000000-50);
        border-radius: 8px;
        padding: 5px 0;

        &:hover {
            background: var(--shadow-000000-10);
        }
    }

    .monthCellCurrent {
        color: var(--text-ffffff);
        background: var(--bg-0066cc);

        &:hover {
            background: var(--bg-0066cc);
            opacity: 0.8;
        }
    }

    .weekend {
        color: var(--text-ff0000);

        &.gray {
            opacity: 0.4;
        }
    }
    .author-profile{
        @include size(100%, auto);
    }
    :global{
        .ant-avatar{
            background-color: var(border-cccccc);
            @include size(28px);
            line-height: 28px;
        }
        .anticon{
            color: var(--text-ffffff);
        }
        .ant-list .ant-list-item .ant-list-item-meta{
            align-items: center;
        }
        .ant-list-item-meta-title{
            font-size: 18px !important;
            color: var(--text-333333);
        }
    }
}

:global {
    .ant-pagination-total-text {
        color: var(--text-333333);
    }

    .ant-pagination-prev,
    .ant-pagination-next {
        a {
            color: var(--text-333333);
        }

        &.ant-pagination-disabled {
            a {
                color: var(--text-999999);
            }
        }
    }

    .ant-pagination .ant-pagination-item {
        color: var(--text-333333);
    }

    .ant-pagination .ant-pagination-item-active {
        background-color: var(--bg-ffffff);
        border-color: var(--border-0066cc);
        color: var(--text-0066cc);
    }
    .ant-picker-calendar .ant-picker-panel{
        background-color: var(--bg-fffdf8);
    }
    .ant-picker-calendar .ant-picker-panel .ant-picker-body{
        padding: 0;
    }
    .ant-picker-calendar .ant-picker-panel{
        border: none;
    }
}